package com.echat.elocation.protocol.entity.receive;

import com.echat.elocation.protocol.entity.PackageMsg;

public class TextMsgIssuedRespMsg extends PackageMsg {


    // ======标志======
    // 紧急状态
    private int emergency;
    // 保留位
    private int reserve;
    //终端显示屏显示
    private int terminalShow;
    // 终端 TTS 播读
    private int TTSBroadcast;
    // 广告屏显示
    private int advertisingScreenShow;
    // 0：中心导航信息，1：CAN 故障码信息
    private int msgType;
    // 标志 1byte
    private int mark;
    // ======标志======

    // 文本信息 (< 1024, GBK编码)
    private String textMsg;


    public TextMsgIssuedRespMsg(PackageMsg msg) {
        this.msgHeader = msg.getMsgHeader();
        this.msgBody = msg.getMsgBody();
        this.checkCode = msg.getCheckCode();
    }


    public int getEmergency() {
        return emergency;
    }

    public void setEmergency(int emergency) {
        this.emergency = emergency;
    }

    public int getReserve() {
        return reserve;
    }

    public void setReserve(int reserve) {
        this.reserve = reserve;
    }

    public int getTerminalShow() {
        return terminalShow;
    }

    public void setTerminalShow(int terminalShow) {
        this.terminalShow = terminalShow;
    }

    public int getTTSBroadcast() {
        return TTSBroadcast;
    }

    public void setTTSBroadcast(int TTSBroadcast) {
        this.TTSBroadcast = TTSBroadcast;
    }

    public int getAdvertisingScreenShow() {
        return advertisingScreenShow;
    }

    public void setAdvertisingScreenShow(int advertisingScreenShow) {
        this.advertisingScreenShow = advertisingScreenShow;
    }

    public int getMsgType() {
        return msgType;
    }

    public void setMsgType(int msgType) {
        this.msgType = msgType;
    }

    public int getMark() {
        return mark;
    }

    public void setMark(int mark) {
        this.mark = mark;
    }

    public String getTextMsg() {
        return textMsg;
    }

    public void setTextMsg(String textMsg) {
        this.textMsg = textMsg;
    }
}
